package com.seanchenxi.gwt.wordpress.json.service.model.impl;

import com.google.gwt.core.client.JavaScriptObject;
import com.seanchenxi.gwt.wordpress.json.service.model.WpImage;

public class WpImageImpl extends JavaScriptObject implements WpImage {

	protected WpImageImpl() {
	}

	@Override
	public final native String getURL() /*-{
		return this.url;
	}-*/;

	@Override
	public final native void setURL(String url)/*-{
		this.url = url;
	}-*/;

	@Override
	public final native int getWidth() /*-{
		return this.width;
	}-*/;


	@Override
	public final native void setWidth(int width)/*-{
		this.width = width;
	}-*/;


	@Override
	public final native int getHeight() /*-{
		return this.url;
	}-*/;


	@Override
	public final native void setHeight(int height)/*-{
		this.height = height;
	}-*/;


}
